﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace SIGEB.Prototipo.Vista
{
    public partial class Splash : frm_Base
    {
        private bool cerrar = false;
        public Splash()
        {
            InitializeComponent();
            this.splash_fl.Cargar(SIGEB.Prototipo.Properties.Resources.splash);
        }

        public Splash(Control.controlPrincipal cp) : base(cp)
        {
            InitializeComponent();
            this.cp = cp;
            this.ShowInTaskbar = false;
            this.splash_fl.Cargar(SIGEB.Prototipo.Properties.Resources.splash);
            asignarUI(this.Controls);           
        }

        private void splash_fl_Enter(object sender, EventArgs e)
        {

        }

        private void splash_fl_Leave(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
